<template>
	<view class="wrapper">
		<view class="header"></view>
		<view class="card">
			<view class="title">您的资金账户</view>
			<view class="card-info">
				<view class="user">
					<uni-icons type="person-filled" size="30"></uni-icons>用户名
				</view>
				<view class="card-num">67803488</view>
				<view class="action">
					<uni-icons type="chatboxes" size="25" color="#999999"></uni-icons><text style="margin-left: 5rpx;">复制</text>
				</view>
			</view>
		</view>
		<view class="btn" @tap="jumpSwitchTab('/pages/index/index')">返回首页</view>
	</view>
</template>

<script >
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			jumpNavigateTo(url) {
				uni.navigateTo({
					url: url
				})
			},
			jumpSwitchTab(url) {
				uni.switchTab({
					url: url
				})
			},
		}
	}
</script>
</script>

<style lang="scss">
	page{
		width: 100%;
		height: 100%;
		background-color: #fff;
	}
	.wrapper {
		height: 100%;
		box-sizing: border-box;
		.header{
			width: 100%;
			height: 417rpx;
			background: url('../../static/user/openaccount/bg.png');
			background-position: center center;
			background-size: 100% 100%;
		}
		.card{
			padding: 24rpx 33rpx;
			.title{
				font-weight: bold;
			}
			.card-info{
				width: 684rpx;
				height: 300rpx;
				margin: 30rpx auto;
				box-sizing: border-box;
				padding: 35rpx;
				background: linear-gradient(-180deg, #C5D5EF, #fff);
				box-shadow: 0rpx 0rpx 6rpx 0rpx rgba(8,55,125,0.1);
				border-radius: 20rpx;
				box-shadow: 0rpx 0rpx 6rpx 0rpx rgba(8,55,125,0.5);
				.user{
					display: flex;
					align-items: center;
					color: #08377D;
				}
				.card-num{
					text-align: center;
					font-size: 50rpx;
					line-height: 120rpx;
				}
				.action{
					display: flex;
					align-items: center;
					color: #999999;
				}
			}
			
		}
		.btn{
			width: 684rpx;
			height: 100rpx;
			line-height: 100rpx;
			text-align: center;
			position: absolute;
			bottom: 50rpx;
			left: 50%;
			margin-left: -342rpx;
			color: #fff;
			background: linear-gradient(to right, #004EC2, #08377D);
			border-radius: 20rpx;
		}
	}
</style>